package com.zxw.设计模式.行为型模式.观察者模式.摇号应用实例.domain;

import lombok.Data;

import java.util.Date;

/**
 * @projectName: util-cloud
 * @package: com.zxw.设计模式.行为型模式.观察者模式.应用实例.监听者.domain
 * @className: LotteryResult
 * @author: zhangxuewei
 * @description: 抽奖结果信息类
 * @date: 2023/10/9 10:58
 * @version: 1.0
 */
@Data
public class LotteryResult {

    /**
     * 用户主键
     */
    private String userId;

    /**
     * 摇号信息
     */
    private String message;

    /**
     * 业务时间
     */
    private Date dateTime;

    public LotteryResult(String userId, String message, Date dateTime) {
        this.userId = userId;
        this.message = message;
        this.dateTime = dateTime;
    }
}
